package com.hfy.model.vo.session;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @ author 韩
 * time: 2024/11/6 11:04
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class SessionVo {

    private String id;

    private String simpleMessage;

    private Integer noticeNum;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime recentTime;

    private String toAccount;

    private String toName;

    private String toAvatar;

    private List<Object> records;
}
